package com.nnnu.wsnackshop.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "批量更新状态DTO")
public class BatchUpdateStatusDTO {

    @NotEmpty(message = "商品ID列表不能为空")
    @Schema(description = "商品ID列表")
    private List<Integer> ids;

    @NotNull(message = "状态不能为空")
    @Schema(description = "状态：0-禁用，1-启用")
    private Integer status;
}